package com.thiswhyme.illegalword.core;

import lombok.AllArgsConstructor;

/**
 * @description: 敏感词匹配规则
 * @author: thiswhyme
 * @date: 2021/4/1
 */
@AllArgsConstructor
public enum MatchType {

    /**
     * 最短匹配
     */
    MIN(1),

    /**
     * 最长匹配
     */
    MAX(2);

    /**
     * 下标
     */
    private int index;
}
